package com.demo.design01.service;

import com.alibaba.fastjson.JSON;
import com.demo.design01.mq.PopOrderDelivered;

/**
 * @author ytj
 * @date 2022/2/21
 */
public class PopOrderMqService {
    public void onmessage(String message){
        PopOrderDelivered mq= JSON.parseObject(message,PopOrderDelivered.class);
        System.out.println(mq);
    }
}
